package com.woniuxy.carlife.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author fx
 * @ClassName:ServiceStatus
 * @Description: 修改服务状态的参数param类
 * @date 2021/4/8 9:50
 **/
@ApiModel(value = "修改服务状态的param类")
@Data
public class ServiceStatus {

    //服务id
    @NotNull(message="服务id不能为空")
    @ApiModelProperty(value = "服务id")
    private Integer serviceId;

    //服务状态
    @NotNull(message="服务状态不能为空")
    @ApiModelProperty(value = "服务状态")
    private String status;
}
